<template>
  <div class="text-only">
    <div class="title">
      {{news.title}}
    </div>
    <div class="tips">
      <span class="tips-span">{{news.type}}</span>
      <span class="tips-span">{{news.count}}</span>
      <span>{{news.time}}</span>
    </div>
  </div>
</template>

<script>
export default {
  props: {
    news: {
      type: Object,
      default () {
        return {
          title: '习近平就关心下一代工作做出指示',
          type: '国内新闻',
          isTop: true,
          time: '11-19 08:07'
        }
      }
    }
  }
}
</script>

<style lang="scss" scoped>
.text-only{
  padding: 16px 0;
  border-bottom: 1px solid #dddddd;
  .title{
    margin-bottom: 10px;
  }
}
.tips{
  color: #999999;
  font-size: 12px;
  padding: 0 10px 0 0;
  .tips-span{
    padding-right: 16px;
  }
}
</style>
